package cn.demomaster.quickdb_sample.model;

import cn.demomaster.quickdb_annotations.Column;
import cn.demomaster.quickdb_annotations.Table;

@Table
public class User {

    @Column(primaryKey = true, autoIncrement = true,comment = "编号")
    private int id;
    @Column(comment = "姓名")
    private String name;
    @Column(comment = "头像")
    private String header;
    @Column(comment = "年龄")
    private int age;
    
    private int sex;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }
}
